package cn.b.sky.mes.em.model;

import java.io.Serializable;

import cn.b.sky.common.model.ImeCommon;
import org.apache.commons.lang3.StringUtils;

/**
 * 
 * <strong>Title : MaintainStrategy.java<br></strong>
 * <strong>Package : cn.b.sky.mes.em.model<br></strong>
 * <strong>Description : </strong>保养策略实体<br> 
 * <strong>Create on : 2015-11-4 下午01:24:12<br></strong>
 * <p>
 * @author zhaoxin01<br>
 * @version <strong>v1.0.0</strong><br>
 * <br>
 * <strong>修改历史:</strong><br>
 * 修改人 | 修改日期 | 修改描述<br>
 * -------------------------------------------<br>
 * <br>
 * <br>
 */
public class MaintainStrategy extends ImeCommon implements Serializable {
  /** 
  * @Fields serialVersionUID
  * @creator     :zhaoxin01
  */
  private static final long serialVersionUID = 5421816699485125361L;

  private String strategyCode;//策略编号

  private String strategyText;//策略描述

  private String strategyTypeECode;//策略类型

  private String timeUnitECode;//时间单位

  private Long strategyTimeValue;//周期值

  private String memo;//备注

  private Long strategyCountValue;//策略计数值

  private int lockFlag;//锁定标记

  private String strategyTypeECodeText;

  private String timeUnitECodeText;

  public String getStrategyTypeECodeText() {
    return strategyTypeECodeText;
  }

  public void setStrategyTypeECodeText(String strategyTypeECodeText) {
    this.strategyTypeECodeText = strategyTypeECodeText;
  }

  public String getTimeUnitECodeText() {
    return timeUnitECodeText;
  }

  public void setTimeUnitECodeText(String timeUnitECodeText) {
    this.timeUnitECodeText = timeUnitECodeText;
  }

  public String getStrategyCode() {
    return StringUtils.upperCase(strategyCode);
  }

  public void setStrategyCode(String strategyCode) {
    this.strategyCode = StringUtils.upperCase(strategyCode);
  }

  public String getStrategyText() {
    return strategyText;
  }

  public void setStrategyText(String strategyText) {
    this.strategyText = strategyText;
  }

  public String getStrategyTypeECode() {
    return strategyTypeECode;
  }

  public void setStrategyTypeECode(String strategyTypeECode) {
    this.strategyTypeECode = strategyTypeECode;
  }

  public String getTimeUnitECode() {
    return timeUnitECode;
  }

  public void setTimeUnitECode(String timeUnitECode) {
    this.timeUnitECode = timeUnitECode;
  }

  public Long getStrategyTimeValue() {
    return strategyTimeValue;
  }

  public void setStrategyTimeValue(Long strategyTimeValue) {
    this.strategyTimeValue = strategyTimeValue;
  }

  public String getMemo() {
    return memo;
  }

  public void setMemo(String memo) {
    this.memo = memo;
  }

  public Long getStrategyCountValue() {
    return strategyCountValue;
  }

  public void setStrategyCountValue(Long strategyCountValue) {
    this.strategyCountValue = strategyCountValue;
  }

  public int getLockFlag() {
    return lockFlag;
  }

  public void setLockFlag(int lockFlag) {
    this.lockFlag = lockFlag;
  }

}
